#include "ch02.h"
int main()
{
//	FILE * stream;
//	stream = 
//	读入一个字符，输出对应的数字
	int x;
	FILE * stream;
	stream = fopen("test_file", "a");
	x = getchar();
	printf("x = %d\n", x);
//	同时将该字符输入到文件test_file中
	putc(x, stream);
	return 0;
	
}
